package com.wyj.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.HashMap;
import java.util.Map;

@Data
@AllArgsConstructor
@ToString
public class SpinResult {

    private Map<Object,Object> selfDate;

    public SpinResult() {
    }

    public Map<Object, Object> getSelfDate() {
        return selfDate;
    }

    public void setSelfDate(Map<Object, Object> selfDate) {
        this.selfDate = selfDate;
    }

    public Map<Object,Object> fetchSelfData() {
        if (selfDate == null) {
            selfDate = new HashMap<>();
        }
        return selfDate;
    }


}
